let target = {
  foo:'bar'
}
let handler = {
  get(){
    return 'handle override';
  }
}
let proxy = new Proxy(target,handler);
console.log(proxy.foo);//handle override
console.log(target.foo);//bar